package com.anjue.bitmap.event
{
	import flash.events.EventDispatcher;
	
	/**
	 * 位图事件管理类
	 * @author anjue
	 */
	public class BmpEventManager
	{
		private static var ownEvent:EventDispatcher = new EventDispatcher();
		
		public static function addEventListener(type:String,listener:Function,useCapture:Boolean=false,priority:uint=0,useWeakReference:Boolean=false):void
		{
			ownEvent.addEventListener(type,listener,useCapture,priority,useWeakReference);
		}
		
		public static function dispatchEvent(eve:BmpEvent):void
		{
			ownEvent.dispatchEvent(eve);
		}
	}
}